package com.iris.clone;

/**
 * @author : Iris.Xiao
 * @date : 2017/12/08 10:26
 * @description :
 */
public class CloneParent  implements Cloneable  {
    private String parentStr;

    public String getParentStr() {
        return parentStr;
    }

    public void setParentStr(String parentStr) {
        this.parentStr = parentStr;
    }
    @Override
    public CloneTest clone(){
        CloneTest o = null;
        try{
            o = (CloneTest)super.clone();
        }catch(CloneNotSupportedException e){
            e.printStackTrace();
        }
        return o;
    }
}
